package com.clothing.bean;

import java.util.Date;

import com.clothing.entity.Message.Type;

public class MessageJson
{
    private String content;
    
    private String senderName;
    
    private Long senderId;
    
    private String headImgUrl;
    
    private Long sendeDate;
    
    private Long articleId;
    
    private Long commentId;
    
    private Type type; 

    public String getContent()
    {
        return content;
    }

    public void setContent(String content)
    {
        this.content = content;
    }

    public String getSenderName()
    {
        return senderName;
    }

    public void setSenderName(String senderName)
    {
        this.senderName = senderName;
    }

    public Long getSenderId()
    {
        return senderId;
    }

    public void setSenderId(Long senderId)
    {
        this.senderId = senderId;
    }

    public String getHeadImgUrl()
    {
        return headImgUrl;
    }

    public void setHeadImgUrl(String headImgUrl)
    {
        this.headImgUrl = headImgUrl;
    }

    public Long getSendeDate()
    {
        return sendeDate;
    }

    public void setSendeDate(Date sendeDate)
    {
        if (null != sendeDate)
        {
            this.sendeDate = sendeDate.getTime();
        }
    }

    public Long getArticleId()
    {
        return articleId;
    }

    public void setArticleId(Long articleId)
    {
        this.articleId = articleId;
    }

    public Long getCommentId()
    {
        return commentId;
    }

    public void setCommentId(Long commentId)
    {
        this.commentId = commentId;
    }

    public Type getType()
    {
        return type;
    }

    public void setType(Type type)
    {
        this.type = type;
    }
}
